package cn.tedu.submarine;

import javax.swing.*;
import java.util.Random;

//侦查潜艇
public class ObserveSubmarine extends SeaObject implements EnemyScore{


    public ObserveSubmarine(){
        super(63,19);

    }
    public void step(){
        x += speed;

    }

    public  ImageIcon getImage(){
        if (isLive()){
            return Images.obsersubm;
        }else {
            return null;
        }
    }
    public int getScore(){
        return 10;
    }
}
